# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="lmctl supports various vendor-specific commands, a good proportion of which isn't supported by my own mouse (an example is wireless status reporting). "
HOMEPAGE="http://www.bedroomlan.org/~alexios/coding_lmctl.html"
SRC_URI="http://www.bedroomlan.org/~alexios/files/SOFTWARE/lmctl/${P/-/_}.tar.gz"
S="${WORKDIR}/${PN}-0.3.1"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND=""
RDEPEND=""

src_compile() {
	econf || die "configure failed."
	emake || die "make failed."
}

src_install() {
	make DESTDIR=${D} install || die "install failed."
}
